<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="easyui-layout" fit="true">
	<div data-options="region:'north'" border="false" style="height: 50px;padding: 12px;overflow: hidden;">
	<form id="bedroomSearchForm">
		寝室名：
			<select id="name" class="easyui-combobox" style="width: 150px;" name="name"
					data-options="value:''">
					<c:forEach items="${bedroom}" var="br">
						<option value="${br.name}"
							>${br.name}</option>
					</c:forEach>
				</select>
		 
		寝室类别：<select class="easyui-combobox" style="width:150px;" id="bedroomType" name="bedroomType"  data-options="value:'',panelHeight:'auto'">
				<option>男寝</option>
				<option>女寝</option>
			</select>	
		寝室状态：<select class="easyui-combobox" style="width:150px;" id="state" name="state"  data-options="value:'',panelHeight:'auto'">
				<option>空余</option>
				<option>住满</option>
			</select>	
		<a id="bedroomSearch" iconCls="icon-search" class="easyui-linkbutton">检索</a>
		<a id="bedroomReset" iconCls="icon-reload" class="easyui-linkbutton">重置</a>
	</form>
	</div>
		<div data-options="region:'center'" border="false">
			<table id="bedGrid" >
			
			</table>
		</div>
	
</div>
<script src="public/js/bedroom.js"></script>